<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <!--<div class="content_wrap">
            <div class="zTreeDemoBackground left">
                <ul id="treeDemo" class="ztree"></ul>
            </div>
        </div>-->
        <div class="col-xs-12 col-sm-8">
            <select  id="c-type" data-rule="required"  data-multiple="true" multiple="" class="form-control selectpicker" name="row[address][]">
                {foreach name="address" item="vo"}
                <option value="{$vo.mergename}"  {if $vo.level<3}disabled{/if}>{$vo.name}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_smoke')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_smoke" data-rule="required;range(0~)" class="form-control" min="0" name="row[goods_smoke]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Favourable')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-favourable" data-rule="required;range(0~)" class="form-control" min="0" name="row[favourable]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Region_divide')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-region_divide" data-rule="required;range(0~)" class="form-control" min="0" name="row[region_divide]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Merchant_smoke')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-merchant_smoke" data-rule="required;range(0~)" class="form-control" min="0" name="row[merchant_smoke]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Kabaw_divide_profit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-kabaw_divide_profit" data-rule="required;range(0~)" class="form-control" min="0" name="row[kabaw_divide_profit]" type="number" value="0">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
